﻿#ifndef __AR8030_CALLBACK_HELPER_H__
#define __AR8030_CALLBACK_HELPER_H__
#include "bb_api.h"
#include <stdio.h>

class evt_callback {
public:
    virtual void run(void* dat) { printf("from base run , %p\n", dat); }
    virtual ~evt_callback() {};
};

#ifdef WIN32
#define AR8030_API __declspec(dllexport)
#else
#define AR8030_API
#endif

AR8030_API int set_cb(bb_dev_handle_t* pdh, int evt, evt_callback* pcb);

#endif
